package org.gdgbologna.devfest.adapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

/*
public class SectionsPagerAdapter extends FragmentPagerAdapter {

	public SectionsPagerAdapter(FragmentManager fm) {
		super(fm);
	}

	@Override
	public Fragment getItem(int i) {
		return fragments.get(i);
	}

	@Override
	public int getCount() {
		return fragments.size();
	}

	@Override
	public CharSequence getPageTitle(int position) {
		if (position == 0){
			int resourceId=getResources().getIdentifier("title_fest"+fragment_selected, "string", getPackageName());
			return getResources().getString(resourceId);
		}
		else return "Sponsor & Partner"; 

	}
}*/